package com.ffggffgfv.backend.entity;

import java.util.Date;

/**
 * 角色权限关联实体类
 */
public class RolePermission {

    private Long id;           // 主键ID
    private Long roleId;       // 角色ID
    private Long permissionId; // 权限ID
    private Date createTime;   // 创建时间

    // Getter and Setter methods
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
